package dto

import "wakitsoft.com/resume/models"

type Education struct {
	Level    string   `json:"level"`
	Major    string   `json:"major"`
	SchoolID uint     `json:"school_id"`
	Timespan []string `json:"timespan"`
}

type Project struct {
	Name        string `json:"name"`
	Stacks      []int  `json:"stacks"`
	Description string `json:"description"`
}

type Stack struct {
	Level   int  `json:"level"`
	StackID uint `json:"stack_id"`
	Years   int  `json:"years"`
}

type Work struct {
	Name        string   `json:"name"`
	Timespan    []string `json:"timespan"`
	Role        string   `json:"role"`
	Description string   `json:"description"`
}

type UpdateResumeRequest struct {
	Educations []Education   `json:"educations"`
	Resume     models.Resume `json:"resume"`
	Projects   []Project     `json:"projects"`
	Stacks     []Stack       `json:"stacks"`
}
